<div class="layui-side layui-nav-mxj layui-bg-black2">
  <div class="layui-side-scroll mui-nav-padding">
    <div class="mui-list">
      <div class="mui-nav-title">
        <div class="mui-nav-title-div"><%= image_tag 'home.png', size: '20x20' %></div>
        <span>系统首页</span>
      </div>
      <div class="mui-nav-child_title">
        <div class="child_title">
          <%= link_to admin_path do -%><span class="<%= "title_active" if (request.fullpath =~ /admin\/home/ || request.fullpath == '/admin')%>">系统首页</span><% end %>
        </div>
      </div>
    </div>

    <div class="mui-list">
      <div class="mui-nav-title">
        <div class="mui-nav-title-div"><%= image_tag 'company.png', size: '20x20' %></div>
        <span>公司管理</span>
      </div>
      <div class="mui-nav-child_title">
        <div class="child_title">
          <%= link_to admin_companies_path do -%><span class="<%= "title_active" if (request.fullpath =~ /admin\/companies/)%>">公司列表</span><% end %>
        </div>
        <div class="child_title">
          <span>客户列表</span>
        </div>

        <div class="child_title">
          <%= link_to admin_user_customs_path do -%><span class="<%= "title_active" if (request.fullpath =~ /admin\/user_customs/)%>">客服管理</span><% end %>
        </div>
      </div>
    </div>

    <div class="mui-list">
      <div class="mui-nav-title">
        <div class="mui-nav-title-div"><%= image_tag 'company.png', size: '20x20' %></div>
        <span>网站管理</span>
      </div>
      <div class="mui-nav-child_title">
        <div class="child_title">
          <%= link_to admin_naviga_bars_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/naviga_bars/ %>">导航栏</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_technical_cores_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/technical_cores/ %>">技术核心</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_company_cases_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/company_cases/ %>">案例组</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_teams_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/teams/ %>">公司团队</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_carousels_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/carousels/ %>">轮播图</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_guest_books_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/guest_books/ %>">客户留言</span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_own_powers_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/own_powers/ %>">技术能力<div class="layui-badge">新</div></span><% end %>
        </div>
        <div class="child_title">
          <%= link_to admin_frequent_asks_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/frequent_asks/ %>">常见问题<div class="layui-badge">新</div></span><% end %>
        </div>

        <div class="child_title">
          <%= link_to admin_article_categories_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/article_categories/ %>">文章类别<div class="layui-badge">新</div></span><% end %>
        </div>

        <div class="child_title">
          <%= link_to admin_articles_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/articles/ %>">文章<div class="layui-badge">新</div></span><% end %>
        </div>


      </div>
    </div>

    <div class="mui-list">
      <div class="mui-nav-title">
        <div class="mui-nav-title-div"><%= image_tag 'account_number', size: '20x20' %></div>
        <span>账号管理</span>
      </div>
      <div class="mui-nav-child_title">
        <div class="child_title">
          <span>重设密码</span>
        </div>
        <div class="child_title">
          <%= link_to admin_admin_users_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/admin_users/ %>">子账号</span><% end %>
        </div>
        <div class="child_title">
          <span>账号权限</span>
        </div>
      </div>
    </div>

    <div class="mui-list">
      <div class="mui-nav-title">
        <div class="mui-nav-title-div"><%= image_tag 'qywx.png', size: '20x20' %></div>
        <span>企业微信</span>
      </div>
      <div class="mui-nav-child_title">
        <div class="child_title">
          <span>账户配置</span>
        </div>
        <div class="child_title">
          <span>企业红包</span>
        </div>
        <div class="child_title">
          <span>欢迎语</span>
        </div>
        <div class="child_title">
          <%= link_to admin_hydropowers_path do -%><span class="<%= "title_active" if request.fullpath =~ /admin\/hydropowers/ %>">水电费</span><% end %>
        </div>
      </div>
    </div>

  </div>
</div>
